QuickTime 3 Reference

| Previous | Chapter contents | Chapter top | Section top | Next |

Using Video Effects Outside a QuickTime Movie

"Adding Video Effects to a QuickTime Movie" describes creating a QuickTime movie which uses video effects. You can also use QuickTime video effects to transition between two GWorlds. Your application does not have to generate a QuickTime movie to use the video effects. This section deals with the task of running an effect that transitions between two GWorlds. The general principles also apply to filtering a single image held in a GWorld.

Preparing to execute an effect outside the context of a QuickTime movie is similar to preparing to add a video effect to a movie: you provide an effect description and a sample description. The main difference is that instead of building an input map to describe the sources used by the effect, you use the function CDSequenceNewDataSource to use a GWorld as the source for the effect.

As well as setting up the effect, you must provide code to run it, since QuickTime cannot directly control the playback of the effect. Because effects are just a type of image decompressor, the code to execute an effect is the same code you would use to decompress and display an image sequence.

Preparing an Effect for Direct Execution

Executing the Decompression Sequence


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |